#include "StdAfx.h"
#include "SocketErrorEventArgs.h"

using namespace Adaptive::Network::Sockets;

SocketErrorEventArgs::SocketErrorEventArgs(Exception^ socketException) : EventArgs()
{
	_exception = socketException;
}
SocketErrorEventArgs::~SocketErrorEventArgs()
{
	_exception = nullptr;
}
Exception^ SocketErrorEventArgs::SocketException::get()
{
	return _exception;
}